package com.powermgr.boringtest.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Result
 *
 * @author qiuxiangdong
 * @date 2023/6/12
 */
@Getter
@AllArgsConstructor
public enum Code {
    SUCCESS(200, "成功"),
    FAILURE(-1, "失败");
    private final Integer code;
    private final String message;
}
